#include <iostream>
using namespace std;

int main()
{
  cout << "Enter an integer: ";
  int value;
  cin >> value;

  bool isEven = value %2 == 0;

  // Display results
  cout << "Is " << value << " an even number? ";

  if (isEven)
    cout << "true" << endl;
  else
    cout << "false" << endl;
}
